<?php   if (!defined('BASEPATH')) exit('No direct script access allowed');
class mhtml extends CI_Model {

    var $view = 'admin/html/';

    function __construct() {
        parent::__construct();
    }

    public function search_form($datas= array(),$view_name = 'search_form_1'){
        if($datas && $view_name != '') return $this->load->view($this->view.$view_name,$datas);
        return ;
    }

    public function table_style($data,$view_name="table_style_1") {
    	if($data && $view_name != '') return $this->load->view($this->view .$view_name, $data, true);
    	return;
    }
}
